package com.jackeys.piaems.entity;

import lombok.Data;

import java.util.Date;

/**
 * @ClassName: Payment
 * @Description: 收支实体类
 * @Author: Jackeys
 * @Date: 2021-06-08 17:11
 * @Version: 1.0
 */
@Data
public class Payment {

    /**
     * id
     */
    private Long id;
    /**
     * 收支id
     */
    private Long userId;
    /**
     * 分类id
     */
    private Long categoryId;
    /**
     * 日期
     */
    private Date date;
    /**
     * 单笔花费
     */
    private Float cost;
    /**
     * 备注
     */
    private String remark;
    /**
     * 标记收入与支出
     */
    private Integer flag;

    /**
     * 具体时间
     */
    private Date detailTime;

    public Payment(){}

}
